import json


with open(r'code1/user_agent.json','r') as f:
    jsoncode=f.read()

print(jsoncode)
# str1='{"a":1,"b":2,"c":3}'

myjson1=json.loads(jsoncode)
print('--------')

print(myjson1['browsers']['chrome'])
print(type((myjson1['browsers'])))
print("+++++++++++++++")
print(myjson1['browsers'].keys())

